<include file="Shared:Header" />
<body class="Bodybg">
<form id="FF" class="easyui-form" method="post" data-options="novalidate:true">
    <table width="100%" border="0" cellpadding="3" cellspacing="0" class="EditTable">
    	<thead>
        <tr>
            <td colspan="2">说明：会员资料只能修改基本信息，有关账号及资金部分不可修改！</td>
        </tr>
        </thead>
        <tbody>
        <tr>
        	<td align="right"><span class="Red">*</span>交易号：</td>
            <td>
                <input id="TradeNum" name="ordersn" type="text" class="easyui-textbox" data-options="required:true,validType:['length[1,100]']" value="{$mem_info.OrderSn}"/>
            </td>
        </tr>
		<tr>
			<td align="right"><span class="Red">*</span>续期方式：</td>
            <td>
                <select id="ReplaymentType" name="ReplaymentType" onchange="fnlingyanact(this)">
                    <option value="4" <?php if($res['ReplaymentType']=='1') echo 'selected';?> >线下续期</option>
                   
                  
                  
                </select>
            </td>
		</tr>
		
		<tr>
			<td align="right"><span class="Red">*</span>续期时间：</td>
            <td>
                 <!--<input id="TrueName" name="TrueName" type="text" class="easyui-textbox" value="{$mem_info.TrueName}" disabled="disabled"/>-->
                  <input id="TrueName" name="days" type="text" class="easyui-textbox" value="7"disabled="disabled"/>
            </td>
		</tr>
		
		<tr>
			<td align="right"><span class="Red">*</span>续期人姓名：</td>
            <td>
                 <!--<input id="TrueName" name="TrueName" type="text" class="easyui-textbox" value="{$mem_info.TrueName}" disabled="disabled"/>-->
                  <input id="TrueName" name="TrueName" type="text" class="easyui-textbox" value="{$dataxmem_info.TrueName}"/>
            </td>
		</tr>
		<tr>
			<td align="right"><span class="Red">*</span>续期费金额：</td>
            <td>
                 <!--<input id="TrueName" name="TrueName" type="text" class="easyui-textbox" value="{$mem_info.TrueName}" disabled="disabled"/>-->
                  <input id="TrueName" name="xuqimoney" type="text" class="easyui-textbox" value="{$xuqimoney}.00"/>元
            </td>
		</tr>
		<tr>
			<td align="right"><span class="Red">*</span>打款方式：</td>
            <td>
                <select id="ReplaymentType" name="ReplaymentType" onchange="fnlingyanact(this)">
                    <option value="1" <?php if($res['ReplaymentType']=='1') echo 'selected';?> >支付宝</option>
                    <option value="2" <?php if($res['ReplaymentType']=='2') echo 'selected';?> >微信</option>
                    <!--<option value="3" <?php if($res['ReplaymentType']=='3') echo 'selected';?> >银联</option>-->
                  
                </select>
            </td>
		</tr>
		
		<tr>
			
			<td align="right"><span class="Red">*</span>还款账号：</td>
            <td>
                <!--<select id="RepaymentAccount" name="RepaymentAccount"></select>-->
                 <input id="RepaymentAccount" name="RepaymentAccount" type="text" class="easyui-textbox" value=""/>
                 <span class="Hui">微信支付宝线下打款请输入交易流水号      银联支付可以为空</span>
            </td>
		</tr>
        
        </tbody>
    </table>
    <input type="hidden" id="ID" name="ID" value="{$mem_info.ID}"/>
</form>
</body>
<include file="Shared:Footer" />
<script type="text/javascript">
	//打款账号
//  function fnlingyanact(obj){
//  	var types=$(obj).val();
//  	var id=$('#ID').val();
//      $.ajax({
//          type:"post",
//          url:"../getaccuonts",
//          data:"types="+types+"&id="+id,
//          success:function(data){
//              $('#RepaymentAccount').empty();
//              $('#RepaymentAccount').append(data);
//          }
//      });
//  }
//  function fnlingyanact2(types){
//      var id=$('#ID').val();
//      $.ajax({
//          type:"post",
//          url:"../getaccuonts",
//          data:"types="+types+"&id="+id,
//          success:function(data){
//              $('#RepaymentAccount').empty();
//              $('#RepaymentAccount').append(data);
//          }
//      });
//  }
//  var types="<?php echo $res['ReplaymentType'];?>";
//  if(types=='0'){
//      types='1';
//  }
//  fnlingyanact2(types);
</script>